package cn.jingzhuan.fm.mvp.model

import cn.jingzhuan.fm.mvp.contract.FMAudioCommentContract
import cn.jingzhuan.fm.network.FMApiService
import cn.jingzhuan.fm.network.json.JsonResponse
import cn.jingzhuan.fm.pojo.FMAudioComment
import io.reactivex.Flowable
import javax.inject.Inject


class FMAudioCommentModel@Inject constructor(val fmApiService: FMApiService) : FMAudioCommentContract.Model{

    override fun commentList(page: Int, limit: Int, audioId: String): Flowable<JsonResponse<List<FMAudioComment>>>  = fmApiService.audioCommentList(page,limit,audioId)

}
